From: Florian Müllner Date: Fri, 23 May 2025 22:19:53 +0000 (+0200) Subject: test: Don't append test env variables X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~124^2^2~90 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=90cbd5015f803e59f30d27a71263021531c1f4d8;p=gnome-shell.git test: Don't append test env variables If the specified variable already exists in the environment, append() will append the value instead of overriding it. This isn't what we want for the existing use case ("TZ=Europe/Madrid:UTC"), nor for the case we are about to add. Change the setup to use set() instead. Part-of: --- diff --git a/tests/meson.build b/tests/meson.build index 7a09f3b83..a75fa6b46 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -41,7 +41,7 @@ unit_tests = { foreach test, extra_args : unit_tests local_test_env = unit_testenv foreach var, value : extra_args.get('env', {}) - local_test_env.append(var, value) + local_test_env.set(var, value) endforeach test(test, jasmine,